package com.sanji.register.repository;

import com.sanji.register.model.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author 武继明 [wzslw@163.com]
 * @since 17-4-22 下午12:02
 */
@Repository
public interface RoleRepository extends JpaRepository<Role, Integer> {
    Role findByRole(String role);

}